<script lang="ts" generics="
    T extends 'a' |'b' |'c'
    ">
    export let t: T;
</script>
